<template>
	<view class="good-item" @click="goRouter('/pages/detail/detail',{id:good.id,type:'good'})">
		<image :src="good.thumb" mode="aspectFill"></image>
		<view class="p-l-5">
			<!-- <view class="c-ae fz24 mb-5">新品上市</view> -->
			<view class="fz30 c-28 mb-10 text-gray goods_title">{{good.title}}</view>
			
			<view class="df fz24">
				<view class="c-333 fw-b mr-10 ">￥{{good.price}}</view>
				<view class="c-ae" style="text-decoration: line-through;">	￥{{good.price_market}}
				</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			good:{
				type:Object
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.goods_title{
	width: 330rpx;
}
.good-item {
	margin-right: 10rpx;
	margin-bottom: 30rpx;
	&:nth-child(2n) {
		margin-right: 0;
	}
	image {
		width: 330rpx;
		height: 480rpx;
		//border-radius: 30rpx;
		margin-bottom: 30rpx;
	}
	
}
</style>
